package com.st.shopadmin.pojo;

import java.util.Date;

public class MoneyLog {
    private Long id;

    private Long uid;

    private Long moneyAccountId;

    private Long counterpartyMoneyAccountId;

    private Byte tradeType;

    private String logContent;

    private Date createTime;

    private Long tradeAmount;

    private Long newBalance;

    private Byte paymentType;

    public MoneyLog(Long id, Long uid, Long moneyAccountId, Long counterpartyMoneyAccountId, Byte tradeType, String logContent, Date createTime, Long tradeAmount, Long newBalance, Byte paymentType) {
        this.id = id;
        this.uid = uid;
        this.moneyAccountId = moneyAccountId;
        this.counterpartyMoneyAccountId = counterpartyMoneyAccountId;
        this.tradeType = tradeType;
        this.logContent = logContent;
        this.createTime = createTime;
        this.tradeAmount = tradeAmount;
        this.newBalance = newBalance;
        this.paymentType = paymentType;
    }

    public MoneyLog() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Long getMoneyAccountId() {
        return moneyAccountId;
    }

    public void setMoneyAccountId(Long moneyAccountId) {
        this.moneyAccountId = moneyAccountId;
    }

    public Long getCounterpartyMoneyAccountId() {
        return counterpartyMoneyAccountId;
    }

    public void setCounterpartyMoneyAccountId(Long counterpartyMoneyAccountId) {
        this.counterpartyMoneyAccountId = counterpartyMoneyAccountId;
    }

    public Byte getTradeType() {
        return tradeType;
    }

    public void setTradeType(Byte tradeType) {
        this.tradeType = tradeType;
    }

    public String getLogContent() {
        return logContent;
    }

    public void setLogContent(String logContent) {
        this.logContent = logContent == null ? null : logContent.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getTradeAmount() {
        return tradeAmount;
    }

    public void setTradeAmount(Long tradeAmount) {
        this.tradeAmount = tradeAmount;
    }

    public Long getNewBalance() {
        return newBalance;
    }

    public void setNewBalance(Long newBalance) {
        this.newBalance = newBalance;
    }

    public Byte getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(Byte paymentType) {
        this.paymentType = paymentType;
    }
}